package event_impl

import (
	"go_server/game_server/event_manager/event_data"
	"go_server/zinx/ziface"
)

type BuildRescueEvent struct {
	event_data.AbsEventData
	Params map[string]int32
}

func NewBuildRescueEvent(conn ziface.IConnection, params map[string]int32) *BuildRescueEvent {
	event := new(BuildRescueEvent)
	event.EventType = event_data.BuildRescueEvent
	event.RoleConn = conn
	event.Params = params
	return event
}
